﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.ScheduleJob.SPI
{
    /// <summary>
    /// 计划任务订阅服务
    /// </summary>
    public interface IScheduleJobSubscriptionService
    {
        string CreateScheduleJobSubscription(ScheduleJobSubscription subscription);
        ScheduleJobSubscription GetScheduleJobSubscriptionById(string subscriptionId);
        void CancleScheduleJobSubscription(string subscriptionId);
        List<ScheduleJobSubscription> GetScheduleJobSubscriptionsByFilter(UserDefineQueryFilter filter);
    }
}
